\hypertarget{_m_d_m___r_t_u___fun_8c}{}\section{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Modbus/\+Modbus\+R\+T\+U\+Master/\+M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.c File Reference}
\label{_m_d_m___r_t_u___fun_8c}\index{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Modbus/\+Modbus\+R\+T\+U\+Master/\+M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Modbus/\+Modbus\+R\+T\+U\+Master/\+M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
{\ttfamily \#include \char`\"{}M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Serial.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+\_\+\+R\+T\+U\+\_\+\+Tool.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+\_\+\+R\+T\+U\+\_\+\+C\+R\+C16.\+h\char`\"{}}\newline
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a7be567099e64581e9db25a98e62c1342}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte}} (void $\ast$obj, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} byte)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a62b009f5a2645d7cb393788a3597ac96}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init}} (\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}} p\+Modbus\+R\+TU, \mbox{\hyperlink{_m_d___r_t_u___tool_8h_abef481eadffaa05b26292b885515da04}{M\+D\+\_\+\+R\+T\+U\+\_\+\+Serial\+Init}} md\+R\+T\+U\+Serial\+Init\+Fun, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}} baud, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} data\+Bits, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} stop\+Bits, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} parity)
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a2a98580be7ea37f66a48632ea4005e05}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+R\+T\+U\+CB, \mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}} p\+Modbus\+R\+TU, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}} send\+Interval\+Time, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}} send\+Over\+Time, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} R\+T\+Times)
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a3630ef9c09d165500fa17cd29cda86ac}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+R\+T\+U\+CB)
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_af7ccd7c798cf7ee16c1665b741d3dc2b}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+R\+T\+U\+CB)
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a89fefdbb6849fe00c1016c14424f0372}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+R\+T\+U\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} state)
\item 
void \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_af0dd2d51cf28d73ba0ae4d10bfdfdce3}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler}} (void $\ast$obj)
\item 
\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a6c661955941b08607eba1e2e984813af}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item}} (\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}} p\+Modbus\+R\+TU, \mbox{\hyperlink{struct_p_map_table_item}{P\+Map\+Table\+Item}} p\+Map\+Table\+Item)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a320bc120b7e7e435c690fa61af9c46e8}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte}} (\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}} p\+Modbus\+R\+TU, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$res, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} len)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a406b15aee144c69d2f796972168a18ca}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16}} (\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}} p\+Modbus\+R\+TU, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$res, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} len)
\item 
\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_aff6e58e77c389f8f0a5c9a7a32d618c1}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits}} (void $\ast$obj, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} modbus\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$bit, \mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}} op\+Addr\+Type, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} dev\+Addr)
\item 
\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a33a3d360e2f734f4b4383a40cfd1548f}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs}} (void $\ast$obj, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} modbus\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$reg, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} is\+BigE, \mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}} op\+Addr\+Type, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} dev\+Addr)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a37d1772f4d1e70d2b085c2f3756d3430}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d_m___r_t_u___fun_8h_a5b157f8ddd2a4e95ba4d86850be582a9}{Modbus\+Fun\+Code}} fun\+Code, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, void $\ast$w\+Data)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a40feb1bd6a3cffacf6cc98998f7aa8ea}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d_m___r_t_u___fun_8h_a5b157f8ddd2a4e95ba4d86850be582a9}{Modbus\+Fun\+Code}} fun\+Code, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, void $\ast$w\+Data)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a43e1d99d5acd65e1c45d93df36119a3c}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a5c816149c63895268c839a0e6de62cb4}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a39823ce65fa69a2d28d7dd6f30464ef6}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a7762adabeedf03d0fcfda898aa2232bf}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a3a089710559356ca695f6b4c23826573}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} bool\+Val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a415182c6592a58cd104e285d1824054d}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_acc81182dc55cdd0abe1023296eb042f4}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a10a9533c0417105ac0cdd0956f509b5b}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a118611f3b95ec0d9dd0ef7242ffaa590}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a1b995d87c5984a870e3fe9fd9935e1e4}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_aad3a6fe83f6675f352432ee400085c43}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a28a5c27cf945db69af8712593a3eec50}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_aedcfbf9af6ea4e71bb99e90bad38b6f3}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} bool\+Val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a635b15f258ede0db69a0b59071814682}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_a7bdd5a0a06791ac26b097e37d38029ec}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$val)
\item 
\mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} \mbox{\hyperlink{_m_d_m___r_t_u___fun_8c_aae9cab850127c27da16757384a3d3755}{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs}} (\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}} p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB, \mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} slave\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} start\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} num\+Of, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$val)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a6c661955941b08607eba1e2e984813af}\label{_m_d_m___r_t_u___fun_8c_a6c661955941b08607eba1e2e984813af}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item()}{MDM\_RTU\_AddMapItem()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Add\+Map\+Item (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}}}]{p\+Modbus\+R\+TU,  }\item[{\mbox{\hyperlink{struct_p_map_table_item}{P\+Map\+Table\+Item}}}]{p\+Map\+Table\+Item }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_af7ccd7c798cf7ee16c1665b741d3dc2b}\label{_m_d_m___r_t_u___fun_8c_af7ccd7c798cf7ee16c1665b741d3dc2b}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag()}{MDM\_RTU\_CB\_ClrDisFlag()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Clr\+Dis\+Flag (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+R\+T\+U\+CB }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a2a98580be7ea37f66a48632ea4005e05}\label{_m_d_m___r_t_u___fun_8c_a2a98580be7ea37f66a48632ea4005e05}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init()}{MDM\_RTU\_CB\_Init()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+R\+T\+U\+CB,  }\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}}}]{p\+Modbus\+R\+TU,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}}}]{send\+Interval\+Time,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}}}]{send\+Over\+Time,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{R\+T\+Times }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a3630ef9c09d165500fa17cd29cda86ac}\label{_m_d_m___r_t_u___fun_8c_a3630ef9c09d165500fa17cd29cda86ac}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset()}{MDM\_RTU\_CB\_OverTimeReset()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Over\+Time\+Reset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+R\+T\+U\+CB }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a89fefdbb6849fe00c1016c14424f0372}\label{_m_d_m___r_t_u___fun_8c_a89fefdbb6849fe00c1016c14424f0372}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag()}{MDM\_RTU\_CB\_SetDisPollEnFlag()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+C\+B\+\_\+\+Set\+Dis\+Poll\+En\+Flag (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+R\+T\+U\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}}}]{state }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a62b009f5a2645d7cb393788a3597ac96}\label{_m_d_m___r_t_u___fun_8c_a62b009f5a2645d7cb393788a3597ac96}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init()}{MDM\_RTU\_Init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}}}]{p\+Modbus\+R\+TU,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___tool_8h_abef481eadffaa05b26292b885515da04}{M\+D\+\_\+\+R\+T\+U\+\_\+\+Serial\+Init}}}]{md\+R\+T\+U\+Serial\+Init\+Fun,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a1134b580f8da4de94ca6b1de4d37975e}{uint32}}}]{baud,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{data\+Bits,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{stop\+Bits,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{parity }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_aff6e58e77c389f8f0a5c9a7a32d618c1}\label{_m_d_m___r_t_u___fun_8c_aff6e58e77c389f8f0a5c9a7a32d618c1}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits()}{MDM\_RTU\_InsideWriteBits()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Bits (\begin{DoxyParamCaption}\item[{void $\ast$}]{obj,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{modbus\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$}]{bit,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}}}]{op\+Addr\+Type,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{dev\+Addr }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a33a3d360e2f734f4b4383a40cfd1548f}\label{_m_d_m___r_t_u___fun_8c_a33a3d360e2f734f4b4383a40cfd1548f}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs()}{MDM\_RTU\_InsideWriteRegs()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Inside\+Write\+Regs (\begin{DoxyParamCaption}\item[{void $\ast$}]{obj,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{modbus\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$}]{reg,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{is\+BigE,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}}}]{op\+Addr\+Type,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{dev\+Addr }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a118611f3b95ec0d9dd0ef7242ffaa590}\label{_m_d_m___r_t_u___fun_8c_a118611f3b95ec0d9dd0ef7242ffaa590}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil()}{MDM\_RTU\_NB\_ReadCoil()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Coil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_aad3a6fe83f6675f352432ee400085c43}\label{_m_d_m___r_t_u___fun_8c_aad3a6fe83f6675f352432ee400085c43}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg()}{MDM\_RTU\_NB\_ReadHoldReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Hold\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a1b995d87c5984a870e3fe9fd9935e1e4}\label{_m_d_m___r_t_u___fun_8c_a1b995d87c5984a870e3fe9fd9935e1e4}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input()}{MDM\_RTU\_NB\_ReadInput()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a28a5c27cf945db69af8712593a3eec50}\label{_m_d_m___r_t_u___fun_8c_a28a5c27cf945db69af8712593a3eec50}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg()}{MDM\_RTU\_NB\_ReadInputReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Read\+Input\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a37d1772f4d1e70d2b085c2f3756d3430}\label{_m_d_m___r_t_u___fun_8c_a37d1772f4d1e70d2b085c2f3756d3430}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+R\+W()}{MDM\_RTU\_NB\_RW()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+RW (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d_m___r_t_u___fun_8h_a5b157f8ddd2a4e95ba4d86850be582a9}{Modbus\+Fun\+Code}}}]{fun\+Code,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{void $\ast$}]{w\+Data }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a7bdd5a0a06791ac26b097e37d38029ec}\label{_m_d_m___r_t_u___fun_8c_a7bdd5a0a06791ac26b097e37d38029ec}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils()}{MDM\_RTU\_NB\_WriteCoils()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Coils (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$}]{val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_aae9cab850127c27da16757384a3d3755}\label{_m_d_m___r_t_u___fun_8c_aae9cab850127c27da16757384a3d3755}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs()}{MDM\_RTU\_NB\_WriteRegs()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Regs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$}]{val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_aedcfbf9af6ea4e71bb99e90bad38b6f3}\label{_m_d_m___r_t_u___fun_8c_aedcfbf9af6ea4e71bb99e90bad38b6f3}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil()}{MDM\_RTU\_NB\_WriteSingleCoil()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Coil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}}}]{bool\+Val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a635b15f258ede0db69a0b59071814682}\label{_m_d_m___r_t_u___fun_8c_a635b15f258ede0db69a0b59071814682}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg()}{MDM\_RTU\_NB\_WriteSingleReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+N\+B\+\_\+\+Write\+Single\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a320bc120b7e7e435c690fa61af9c46e8}\label{_m_d_m___r_t_u___fun_8c_a320bc120b7e7e435c690fa61af9c46e8}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte()}{MDM\_RTU\_ReadByte()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}}}]{p\+Modbus\+R\+TU,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$}]{res,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{len }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a43e1d99d5acd65e1c45d93df36119a3c}\label{_m_d_m___r_t_u___fun_8c_a43e1d99d5acd65e1c45d93df36119a3c}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil()}{MDM\_RTU\_ReadCoil()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Coil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a39823ce65fa69a2d28d7dd6f30464ef6}\label{_m_d_m___r_t_u___fun_8c_a39823ce65fa69a2d28d7dd6f30464ef6}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg()}{MDM\_RTU\_ReadHoldReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Hold\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a5c816149c63895268c839a0e6de62cb4}\label{_m_d_m___r_t_u___fun_8c_a5c816149c63895268c839a0e6de62cb4}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input()}{MDM\_RTU\_ReadInput()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a7762adabeedf03d0fcfda898aa2232bf}\label{_m_d_m___r_t_u___fun_8c_a7762adabeedf03d0fcfda898aa2232bf}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg()}{MDM\_RTU\_ReadInputReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Input\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a406b15aee144c69d2f796972168a18ca}\label{_m_d_m___r_t_u___fun_8c_a406b15aee144c69d2f796972168a18ca}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16()}{MDM\_RTU\_ReadUint16()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Read\+Uint16 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u}{P\+Modbus\+\_\+\+R\+TU}}}]{p\+Modbus\+R\+TU,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$}]{res,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{len }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a7be567099e64581e9db25a98e62c1342}\label{_m_d_m___r_t_u___fun_8c_a7be567099e64581e9db25a98e62c1342}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte()}{MDM\_RTU\_RecvByte()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Recv\+Byte (\begin{DoxyParamCaption}\item[{void $\ast$}]{obj,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{byte }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a40feb1bd6a3cffacf6cc98998f7aa8ea}\label{_m_d_m___r_t_u___fun_8c_a40feb1bd6a3cffacf6cc98998f7aa8ea}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+R\+W()}{MDM\_RTU\_RW()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+RW (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d_m___r_t_u___fun_8h_a5b157f8ddd2a4e95ba4d86850be582a9}{Modbus\+Fun\+Code}}}]{fun\+Code,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{void $\ast$}]{w\+Data }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_af0dd2d51cf28d73ba0ae4d10bfdfdce3}\label{_m_d_m___r_t_u___fun_8c_af0dd2d51cf28d73ba0ae4d10bfdfdce3}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler()}{MDM\_RTU\_TimeHandler()}}
{\footnotesize\ttfamily void M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Time\+Handler (\begin{DoxyParamCaption}\item[{void $\ast$}]{obj }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_acc81182dc55cdd0abe1023296eb042f4}\label{_m_d_m___r_t_u___fun_8c_acc81182dc55cdd0abe1023296eb042f4}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils()}{MDM\_RTU\_WriteCoils()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Coils (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}} $\ast$}]{val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a10a9533c0417105ac0cdd0956f509b5b}\label{_m_d_m___r_t_u___fun_8c_a10a9533c0417105ac0cdd0956f509b5b}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs()}{MDM\_RTU\_WriteRegs()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Regs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{num\+Of,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} $\ast$}]{val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a3a089710559356ca695f6b4c23826573}\label{_m_d_m___r_t_u___fun_8c_a3a089710559356ca695f6b4c23826573}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil()}{MDM\_RTU\_WriteSingleCoil()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Coil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}}}]{bool\+Val }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_m___r_t_u___fun_8c_a415182c6592a58cd104e285d1824054d}\label{_m_d_m___r_t_u___fun_8c_a415182c6592a58cd104e285d1824054d}} 
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg}}
\index{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg}!M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c@{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Fun.\+c}}
\subsubsection{\texorpdfstring{M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg()}{MDM\_RTU\_WriteSingleReg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___error_8h_afbd14e041755df38365fdf8ccb31e4cb}{M\+D\+Error}} M\+D\+M\+\_\+\+R\+T\+U\+\_\+\+Write\+Single\+Reg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_p_modbus___r_t_u___c_b}{P\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB}}}]{p\+Modbus\+\_\+\+R\+T\+U\+\_\+\+CB,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_adde6aaee8457bee49c2a92621fe22b79}{uint8}}}]{slave\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{start\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{val }\end{DoxyParamCaption})}

